/*
 * CopyRight(C) Kenbin
 */

#ifndef LSG_LOG_INCLUDED
#define LSG_LOG_INCLUDED

#define LSG_LOG_NULL   0
#define LSG_LOG_STDERR 1
#define LSG_LOG_ERR    2
#define LSG_LOG_INFO   3
#define LSG_LOG_DEBUG  4

namespace LSG {
    void lsg_set_log_threadsafe(int mode);
    void lsg_set_log_level(unsigned level);
    void lsg_set_log_path(const char *path);
    void lsg_set_log_prefix(const char *prefix);
    void lsg_logging(unsigned level, const char *fmt, ...);
};

#endif
